package com.wisemoresystem.seal.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import org.ne.framework.data.model.DbModel;

/**
 * 印章安装卸载表
 * 
 * @author Administrator
 *
 */
@Entity
public class t_seal_user_use implements DbModel {

	@Transient
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator = "my_generator")
	@GenericGenerator(name = "my_generator", strategy = "uuid")
	@Column(length = 32)
	private String _id;
	private String bank_id;
	
	private String flag;//状态：已安装or 已卸载

	private String mac_id;// 印控仪
	private String position;// 印控仪安装位置:位置一 or 位置二

	private String seal_id;// 印章
	private String use_user_id;// 正在使用的柜员
	private String seal_user_id;// 印章领取归还表 t_seal_user的 id

	private Timestamp time_in;// 安装时间
	private Timestamp time_out;// 卸载时间

	private String user_id;// 录入人员
	private int status;
	private Timestamp created = new Timestamp(System.currentTimeMillis());

	// ======= get / set ()=================
	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getBank_id() {
		return bank_id;
	}

	public void setBank_id(String bank_id) {
		this.bank_id = bank_id;
	}

	public String getSeal_id() {
		return seal_id;
	}

	public void setSeal_id(String seal_id) {
		this.seal_id = seal_id;
	}

	public String getUse_user_id() {
		return use_user_id;
	}

	public String getMac_id() {
		return mac_id;
	}

	public void setMac_id(String mac_id) {
		this.mac_id = mac_id;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getSeal_user_id() {
		return seal_user_id;
	}

	public void setSeal_user_id(String seal_user_id) {
		this.seal_user_id = seal_user_id;
	}

	public Timestamp getTime_in() {
		return time_in;
	}

	public void setTime_in(Timestamp time_in) {
		this.time_in = time_in;
	}

	public Timestamp getTime_out() {
		return time_out;
	}

	public void setTime_out(Timestamp time_out) {
		this.time_out = time_out;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setUse_user_id(String use_user_id) {
		this.use_user_id = use_user_id;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

}
